package com.woniuxy.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @BelongsProject: java-85-course-code
 * @BelongsPackage: com.woniuxy.entity
 * @Author: LiTongMiao
 * @Date: 2022/2/14 15:01
 * @Description: TODO
 */
@Data
public class MyTestConfig {

    String url;
    String name;

    public String updateMyConfig() {
        return "";
    }

    public void testConfig() {
        System.out.println(name + "::" + url);
    }

    public MyTestConfig(String url, String name) {
        this.url = url;
        this.name = name;
    }
}
